<template>
  <div class="container">
    <svg-icon :name="icon" color="#ff0000" v-for="icon in iconList" :key="icon" />
    <div>
      <img :src="IconHome" alt="" />
      <img :src="IconClose" alt="" />
    </div>
  </div>
</template>

<script setup>
import IconHome from '@/assets/icons/icon-home.svg';
import IconClose from '@/assets/icons/icon-close.svg';

const iconList = ['icon-home', 'icon-close', 'icon-search', 'icon-target', 'icon-t'];
</script>

<style scoped lang="scss">
.container {
  font-size: 100px;
}
</style>
